package com.cws.project.cws.resitscore.domain;

import com.cws.framework.aspectj.lang.annotation.Excel;
import com.cws.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 补考得分对象 cws_course_resit_score
 *
 * @author xyl
 * @date 2022-03-26
 */
public class CourseResitScore extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 补考得分
     */
    private Long resitScoreId;

    /**
     * 补考id
     */
    private Long resitId;

    /**
     * 文件url
     */
    private String docUrl;

    /**
     * 学生id
     */
    private Long studentId;

    /**
     * 得分
     */
    private Double score;


    /**
     * 课程名称
     */
    private String courseName;

    /**
     * 学生姓名
     */
    private String userName;

    private String loginName;

    private List<Long> clazzIds;

    private Long teacherId;

    public List<Long> getClazzIds() {
        return clazzIds;
    }

    public void setClazzIds(List<Long> clazzIds) {
        this.clazzIds = clazzIds;
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setResitScoreId(Long resitScoreId) {
        this.resitScoreId = resitScoreId;
    }

    public Long getResitScoreId() {
        return resitScoreId;
    }

    public void setResitId(Long resitId) {
        this.resitId = resitId;
    }

    public Long getResitId() {
        return resitId;
    }

    public void setDocUrl(String docUrl) {
        this.docUrl = docUrl;
    }

    public String getDocUrl() {
        return docUrl;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public Double getScore() {
        return score;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("resitScoreId", getResitScoreId())
                .append("resitId", getResitId())
                .append("docUrl", getDocUrl())
                .append("studentId", getStudentId())
                .append("score", getScore())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("remark", getRemark())
                .toString();
    }
}
